# 应用ID
APP_ID = "2016101300674222"

# 是否是沙箱环境
DEBUG = True

# 签名算法 RSA or RSA2
SIGN = 'RSA2'


# 网关
if DEBUG:
    GATEWAY = 'https://openapi.alipaydev.com/gateway.do?'
else:
    GATEWAY = 'https://openapi.alipay.com/gateway.do?'


# 应用私钥
app_private_key_string = """-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAj7Zg2U4HKFQmairVOtP5/qhdSdNG6yofwbarKCaletieix39/PCX60w1zJTufsZ5Flnp1Cv1nCQ1MuEl92JDkHHpOqiCLZzjHstwjMuDlE32ACxCmbZOmHcCeYxMEQPE/0hiahGe5QxV+rH5+MSE6ziGt163aR81Z9xNnNLWicrlRFgLc2I/nFWDQSRchiTf4QtDtNo8rvvzyXD/nE7gFTuM9lukbcyiP2eIklHihseHjnh+QmGrRXbpueF0JYJq7hTttGsJ5pN/wcFPKFMgmck8b6A3G2FWENzNUUgGbR+yuIPdqYVIQJaneja268q7hAucYZeopNuMPNsenGi7SwIDAQABAoIBAAMlAHWAyZNOVBDaoxPIc53o3TGyV8jpgQxiDNiyD8jiWIW+wEH6mbhiUIMLdzR670dX7E/iLlueRzO3zXbeRZAxjeLksQSCfE2+MdZC1bw3AHz8evCWFp4rbHhwY3Gz3Wmgkda0T/+/B1qW7ltNIYNsFzaH8gdw0WBWZ7RYwKz/JQD9nuhh1kGih4pyP8wnmBR/t2klG3N0WAlNbo/evMrcI+w0uPdJmfG+hib2qQE6Ae0ZwdDhvEhdicJSAK9mWWCg6aek5a6UlG+9LXiNcrSJ0+3IM1fwCgjBI8q6clRUbSqyz1ROcd20Ah7Xo0oYfk8fEsxQhQtY84Py/AVSQgECgYEA5dld/bD0pk9IR7TRpDuO46OY0nYZbUgTvUodUvuJVPNkHU2XqWaHCacgSF7jr94/44dsvVEkG3g0qhIu3T53m3joZ1uC7jQA9Oc9uIDch4REUiitJVONEr/Fzw6CBjJ17MZfwLPXZ9pLzoVdty4gk+6lyMW2QNxA+JydgXqPdc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pf4D2RP3W1YckXK2PlMYiyHfgy91hXjo5TqevUQZdXIB0oUmP+zzc5/icdHzmMkuzcZBaQIDAQAB
-----END PUBLIC KEY-----"""




